Please describe some common naming conventions used in programming.
What are some common naming conventions used in programming?
86810-Dec-2019
Updated on 10-Dec-2019
Home / DeveloperSection / Forums / What are some common naming conventions used in programming?
Please describe some common naming conventions used in programming.
Nishi Tiwari
11-Dec-2019Pascal Case
The first character of all words is upper case & other characters are lower case.
Mainly used by classes and method name.
Camel Case
The first character of all words, except the first word, is upper case & other characters are lower case.
Mainly used by variables and method parameters.
Hungarian Notation
The word starts with lower case prefix and rest of the word is in Pascal case.
In this str represents string.
Snake Case
In snake case words are separated by underscore (_).
Kebab Case
In this case words are separated by hyphen (-).